<template>
	<view class="content">
		<web-view :src="url"></web-view>
	</view>
</template>

<script setup>
	import {
		onLoad,
	} from '@dcloudio/uni-app'
import { ref } from 'vue';
	let url = ref('')
	onLoad((open)=>{
		if(open.url){
			url.value = decodeURIComponent(open.url)
		}
	})
</script>

<style>
	.content{
		width: 100%;
		height: 100%;
		overflow-y: auto;
	}
</style>